package com.itdaan.portal.business.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.itdaan.portal.business.domain.Author;
import com.itdaan.portal.business.mapper.AuthorMapper;
import com.itdaan.portal.business.service.AuthorService;
import com.itdaan.portal.common.exception.ServiceException;

/**
 * @author www.itdaan.com
 */
@Service(value = "authorService")
public class AuthorServiceImpl implements AuthorService {

	@Resource(name = "authorMapper")
	private AuthorMapper authorMapper;
	
	@Override
	public List<Author> selectAuthorOfMostBlog() throws ServiceException {
		return authorMapper.selectAuthorOfMostBlog();
	}

}
